package cn.otrue.patienthealthmanager.bean;

import java.util.Date;

import com.lidroid.xutils.db.annotation.Id;

public class HistoryChat {
	@Id
	private int id;
	/** 患者id */
	private String patientUser;
	/** 医生id */
	private String doctorUser;
	/** 未读消息数 */
	private int unreadNum;
	/** 最后的消息 */
	private String finalMsg;
	/** 最后的消息类型 */
	private int finalMsgType;
	/** 创建时间 */
	private Date createTime;
	/** 是否过期 */
	private int isOverdued;
	/** 聊天类型 */
	private int chatType;

	public int getChatType() {
		return chatType;
	}

	public void setChatType(int chatType) {
		this.chatType = chatType;
	}

	public int getFinalMsgType() {
		return finalMsgType;
	}

	public void setFinalMsgType(int finalMsgType) {
		this.finalMsgType = finalMsgType;
	}

	public int getIsOverdued() {
		return isOverdued;
	}

	public void setIsOverdued(int isOverdued) {
		this.isOverdued = isOverdued;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPatientUser() {
		return patientUser;
	}

	public void setPatientUser(String patientUser) {
		this.patientUser = patientUser;
	}

	public String getDoctorUser() {
		return doctorUser;
	}

	public void setDoctorUser(String doctorUser) {
		this.doctorUser = doctorUser;
	}

	public int getUnreadNum() {
		return unreadNum;
	}

	public void setUnreadNum(int unreadNum) {
		this.unreadNum = unreadNum;
	}

	public String getFinalMsg() {
		return finalMsg;
	}

	public void setFinalMsg(String finalMsg) {
		this.finalMsg = finalMsg;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int isOverdued() {
		return isOverdued;
	}

	public void setOverdued(int isOverdued) {
		this.isOverdued = isOverdued;
	}

	public HistoryChat() {
		super();
		// TODO Auto-generated constructor stub
	}

	public HistoryChat(String patientUser, String doctorUser, int unreadNum,
			String finalMsg, int finalMsgType, Date createTime, int isOverdued) {
		super();
		this.patientUser = patientUser;
		this.doctorUser = doctorUser;
		this.unreadNum = unreadNum;
		this.finalMsg = finalMsg;
		this.finalMsgType = finalMsgType;
		this.createTime = createTime;
		this.isOverdued = isOverdued;
	}

}
